<template>
  <!-- <UserEdit
      width="500px"
      v-model="appShowDetail"
      :detail="appDetail"
      @change="appInit"
      :json="formJson"
  />-->
  <el-dialog :title="!appDetail.id ? '新增' : '编辑'" v-model="appShowDetail" width="600px" :before-close="appHandleClose">
    <jax-form ref="appForm" v-model="appDetail" :json="appJson" />
    <template #footer>
      <span class="dialog-footer">
        <el-button @click="appShowDetail = false">取 消</el-button>
        <el-button type="primary" @click="appHandleSubmit">确 定</el-button>
      </span>
    </template>
  </el-dialog>
</template>

<script>
import { mixins } from 'jax-node'

export default {
  mixins: [mixins.pageEdit],
  data() {
    return {
      // 弹窗详情默认参数
      appDefaultDetail: {
        state: 0,
        systemType: this.$route.query.systemType,
      },
    }
  },
  created() {},
  methods: {},
  computed: {},
}
</script>

<style lang="scss" scoped></style>
